<?php /* Smarty version Smarty-3.1.14, created on 2016-06-01 20:07:14
         compiled from "..\views\blog.html" */ ?>
<?php /*%%SmartyHeaderCode:14365574e58c897d336-31723060%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a867191bd51bfb30cd31c4854939341ebf9ba2ed' => 
    array (
      0 => '..\\views\\blog.html',
      1 => 1464782831,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '14365574e58c897d336-31723060',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.14',
  'unifunc' => 'content_574e58c8bf60c3_00230408',
  'variables' => 
  array (
    'data' => 0,
    'foo' => 0,
    'k' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_574e58c8bf60c3_00230408')) {function content_574e58c8bf60c3_00230408($_smarty_tpl) {?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<link rel="stylesheet" href="../public/style/css/ch-ui.admin.css">
	<link rel="stylesheet" href="../public/style/font/css/font-awesome.min.css">
    <script type="text/javascript" src="../public/style/js/jquery.js"></script>
    <script type="text/javascript" src="../public/style/js/ch-ui.admin.js"></script>
</head>
<body>
    <!--面包屑导航 开始-->
    <div class="crumb_warp">
        <i class="fa fa-home"></i> <a href="#">博客首页</a>&raquo; <span>欢迎 <?php echo $_smarty_tpl->tpl_vars['data']->value['info']['username'];?>
 登陆</span>
        <a  style="float:right;margin-right: 10%" href="../controllers/LoginController.php?layout=1">退出登陆</a>
    </div>
    <!--面包屑导航 结束-->

    <!--搜索结果页面 列表 开始-->
        <div class="result_wrap">
            <!--快捷导航 开始-->
            <div class="result_content">
                <div class="short_wrap">
                    <a href="../controllers/CreateController.php"><i class="fa fa-plus"></i>新增文章</a>
                </div>
            </div>
            <!--快捷导航 结束-->
        </div>

        <div class="result_wrap">
            <div class="result_content">
                <table class="list_tab">
                    <tr>
                        <th class="tc" style="width: 10%;">ID</th>
                        <th class="tc" style="width: 15%;">标题</th>
                        <th class="tc" style="width: 45%;">标签</th>
                        <th class="tc"  style="width: 10%;">发布时间</th>
                        <th class="tc" style="width: 10%;">作者</th>
                        <th class="tc" style="width: 10%;">操作</th>
                    </tr>
                    <tr>
                        <?php  $_smarty_tpl->tpl_vars['foo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['foo']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data']->value['arr']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['foo']->key => $_smarty_tpl->tpl_vars['foo']->value){
$_smarty_tpl->tpl_vars['foo']->_loop = true;
?>
                    <tr>
                        <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['foo']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
                            <?php if ($_smarty_tpl->tpl_vars['k']->value!='content'){?>
                                <?php if ($_smarty_tpl->tpl_vars['k']->value!='user_id'){?>
                                <td class="tc"><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
</td>
                                <?php }?>
                            <?php }?>
                        <?php } ?>

                        <td style="text-align: center">
                            <a style="margin-left: 38%;" href="../controllers/EditController.php?id=<?php echo $_smarty_tpl->tpl_vars['foo']->value['id'];?>
">查看</a>
                        </td>
                    </tr>
                    <?php } ?>
                </table>
            </div>
        </div>

</body>
</html>
<script>

</script><?php }} ?>